/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.webrx;

import java.io.File;

/**
 * <p>Project: jse2303 - File3
 * <p>Powered by webrx On 2023-07-20 16:39:08
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class File3 {
    public static void main(String[] args) {
        File f = new File("u.txt");
        //删除文件
        f.delete();
        if (f.isFile() && f.exists()) {
            f.deleteOnExit();
        }
    }
}
